package com.expertria.glex.util;

import java.util.ArrayList;

 

import com.expertria.glex.event.Events.EventDispatcherHelper;
import com.expertria.glex.event.Events.IEventDispatcher;
import com.expertria.glex.event.Events.IEventListener;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;

public class ArrayCollection implements IEventDispatcher {

	private final EventDispatcherHelper eventHelper = new EventDispatcherHelper();
	
	@Override
	public void dispose() {
		eventHelper.dispose();
		
	}
	
	@Override
	public void dispatch(String eventName, Object object) {
		eventHelper.dispatch(eventName, object);
		
	}
	@Override
	public void addEventListener(String event, IEventListener e) {
		
		eventHelper.addEventListener(event, e);
	}
		
	
 
	 
}
